<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="../../../common/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<sfa:mainTitle></sfa:mainTitle>
		<%@ include file="../../../common/meta.jsp"%>
		
		<style type="text/css">
.title {
	width: 200px;
	white-space: nowrap;
	word-break: keep-all;
	overflow: hidden;
	text-overflow: ellipsis;
}

</style>
<script type="text/javascript">
 
</script>
	</head>
	<body id="master">
		<sfa:mainHeader></sfa:mainHeader>
		<div class="webpart3 contentarea">
			<div class="webpart-head">
				<div class="webpart-head-item">
					供应商计划书
					 
				</div>
			</div>
			<div class="webpart-main">
				<div class="webpart-main-item" style="padding-top: 12px;">
					<div class="search">
						<form method="get">
							<table cellpadding="0" cellspacing="0" align="center">
								<tr>
									<th>
										建议书名称:	
									</th>
									<td>
										<input type="text" name="planbookname" id="planbookname"
											class="input-txt" value="${planbookname}" " />
									</td>
									<th>
										产品名称：
									</th>
									<td>
										<input type="text" name="productname" id="productname"
											class="input-txt" value="${productname}" />
									</td>
									<th>
										供应商：
									</th>
									<td>
										<input type="text" name="providername" id="providername"
											class="input-txt" value="${providername}" />
									</td>
								</tr>
								<tr>	
									<th>
										机构:
									</th>
									<td>
										<select class="input-txt" name="branchId" id="branchId" disabled="disabled"> 
											<c:forEach items="${BranchList}" var="branch">
												<option value="${branch.branchId }"
													<c:if test="${loginbranchId==branch.branchId }">selected='selected'</c:if>  >
													${branch.branchName}
												</option>
											</c:forEach>
										</select>
									</td>
 						</tr>
								<tr>
									<td colspan="5" align="center">
										<input type="submit" class="linkbtn2" value="查询" />
										<input type="button" class="linkbtn2" value="清空"
											onclick="location.href='${path}/routine/prospectus/index';" />

									</td>
								</tr>
							</table>
						</form>
					</div>
					<table cellpadding="0" cellspacing="0"
						class="dg_borderstyle trStyleTable" style="margin-top: 15px;">
						<tr>
							<th>
								序号
							</th>
							<th>
								建议书名称
							</th>
							<th>
								产品名称
							</th>
							<th>
								供应商
							</th>
							<th>
								机构
							</th>
						 
						</tr>

						<c:forEach items="${pagination.resultList}" var="planBook" varStatus="ind">
							<tr>
								<td align="center">
									${(pagination.page-1)*10+(ind.index+1)}
								</td>
								<td align="center">
									<a href="${path}/routine/prospectus/index/info/${planBook.saleproviderplanbookid}">
									${planBook.planbookname}</a>
								</td>
								<td align="center">
									${planBook.productname}
								</td>
								<td align="center">
								 
									${planBook.providername}
								</td>
								<td align="center">
								 ${planBook.branchname}
								</td>
								 
							</tr>
						</c:forEach>

					</table>
					<!----------- 翻页导航 ------------------>
					<div class="dg_pagerstyle">
						<div class="pageinfo">
							<c:if test="${not empty pagination.multiPage}">
							   第${pagination.page }页 | 共${pagination.totalPages }页/${pagination.totalRows }条记录
						</c:if>
						</div>
						<div class="pagebtn">
							${pagination.multiPage}
						</div>
					</div>
					</div>
					<div class="webpart-foot">
						<div class="webpart-foot-item">
						</div>
					</div>
				</div>
			</div>
			<sfa:mainFooter></sfa:mainFooter>
	</body>
</html>